home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 41
/
Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso
/
Aminet
/
util
/
sys
/
68040Lib.lha
/
68040Lib
/
Include
/
mmu
/
descriptor.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-04-02
|
2KB
|
57 lines
/*************************************************************************
** mmu.library **
** **
** a system library for arbitration and control of the MC68K MMUs **
** **
** © 1998 THOR-Software, Thomas Richter **
** No commercial use, reassembly, modification without prior, written **
** permission of the authors. **
** Including this library in any commercial software REQUIRES a **
** written permission and the payment of a small fee. **
** **
**---------------------------------------------------------------------**
** Definition of the abstract data descriptor **
** **
** $VER: 40.50 (31.10.99) **
*************************************************************************/
#ifndef MMU_DESCRIPTOR_H
#define MMU_DESCRIPTOR_H
/**
** This structure describes a MMU descriptor abstractly. This structure
** must be passed to GetIndirect, and will be filled in by the library
** there is currently no other use for this structure.
** Especially, do not interpret undocumented fields.
**/
struct AbstractDescriptor {
ULONG atd_Pointer; /* logical address */
ULONG atd_Properties; /* MMU properties */
/**
** The next fields are filled in, but currently intentionally undocumented.
** However, they MUST be allocated.
**/
UWORD atd_LowerLimit;
UWORD atd_UpperLimit;
UBYTE atd_ThisType;
UBYTE atd_NextType;
UWORD atd_reserved;
};
/**
** About the properties: Only a minor subset is supported here.
** Check the documenation mmu.doc for details what you may expect here
** and what not.
**/
/**
** This is returned if BuildIndirect() failed:
**/
#define BAD_DESCRIPTOR 3
#endif